/*
 * Copyright 2022-2029 heshuixing(https://gitee.com/heshuixing)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.mercury.ec.framework.air.core.client.impl.skyecho.dto.searchflight;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 航班信息
 *
 * @author hesx
 */
@Data
public class SkyechoFlightRespDTO {
    /**
     * 航空公司代码
     */
    @JsonProperty("aircode")
    private String airCode;
    /**
     * 航空公司名称
     */
    @JsonProperty("airlines_name")
    private String airlinesName;
    /**
     * 航班号
     */
    @JsonProperty("flightnum")
    private String flightNum;
    /**
     * 出发城市三字码
     */
    @JsonProperty("departcity")
    private String departCity;
    /**
     * 抵达城市三字码
     */
    @JsonProperty("arrivecity")
    private String arriveCity;
    /**
     * 出发城市候机楼
     */
    @JsonProperty("depart_airport")
    private String departAirport;
    /**
     * 抵达城市候机楼
     */
    @JsonProperty("arrive_airport")
    private String arriveAirport;
    /**
     * 起飞时间
     */
    @JsonProperty("depart")
    private String depart;
    /**
     * 抵达时间
     */
    @JsonProperty("arrive")
    private String arrive;
    /**
     * 机型
     */
    @JsonProperty("equip")
    private String equip;
    /**
     * 是否经停 0 – 否；1 – 是
     */
    @JsonProperty("stop")
    private Integer stop;
    /**
     * 经停城市三字码
     */
    @JsonProperty("stopcity")
    private String stopcity;
    /**
     * 餐食   B.早餐、C.快餐、D.晚餐、H.热快餐、L.午餐、M.
     */
    @JsonProperty("food")
    private String food;
    /**
     * 机场税
     */
    @JsonProperty("tax")
    private BigDecimal tax;
    /**
     * 燃油税
     */
    @JsonProperty("yq")
    private BigDecimal yq;
    /**
     * 是否共享航班   Y-共享
     */
    @JsonProperty("is_share")
    private String isShare;
    /**
     * 实际承运航班号
     */
    @JsonProperty("share_num")
    private String shareNum;
    /**
     * 通程航班标识
     * 两位字母+4 位数字,如果 rout 不是通程航班，该字段显示空
     */
    @JsonProperty("tcfno")
    private String tcfNo;
    /**
     * 舱位列表
     */
    @JsonProperty("class")
    private List<SkyechoClassRespDTO> classes;
}
